Companion

object Companion

Contains declarations for holding or building a PositiveInt.

Functions

Link copied to clipboard
infix fun orNull(value: Int): PositiveInt?

Returns the value as a PositiveInt, or returns null if the value equals 0.

Link copied to clipboard

Returns a random PositiveInt.

Properties

Link copied to clipboard

The maximum value of a PositiveInt.

Link copied to clipboard

The minimum value of a PositiveInt.